Skip to content

Constify comparisons and Clone for core::mem::Alignment#154512

Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
GrigorenkoPV:alignment/const
Mar 29, 2026
Merged

Constify comparisons and Clone for core::mem::Alignment#154512
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
GrigorenkoPV:alignment/const

Conversation

@GrigorenkoPV
Copy link
Copy Markdown
Contributor

As suggested in #153261 (comment)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 28, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 28, 2026

r? @scottmcm

rustbot has assigned @scottmcm.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @scottmcm, libs
  • @scottmcm, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, scottmcm

@scottmcm
Copy link
Copy Markdown
Member

Sure, seems fine
@bors r+ rollup

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 29, 2026

📌 Commit c45bfa8 has been approved by scottmcm

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 29, 2026
Zalathar added a commit to Zalathar/rust that referenced this pull request Mar 29, 2026
…ottmcm

Constify comparisons and `Clone` for `core::mem::Alignment`

As suggested in rust-lang#153261 (comment)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Mar 29, 2026
…ottmcm

Constify comparisons and `Clone` for `core::mem::Alignment`

As suggested in rust-lang#153261 (comment)
rust-bors bot pushed a commit that referenced this pull request Mar 29, 2026
…uwer

Rollup of 4 pull requests

Successful merges:

 - #153632 (Fix Vec::const_make_global for 0 capacity and ZST's)
 - #154190 (Don't fuse in `MapWindows`)
 - #154512 (Constify comparisons and `Clone` for `core::mem::Alignment`)
 - #154520 (Add doc links to `ExtractIf` of `BTree{Set,Map}` and `LinkedList`)
@rust-bors rust-bors bot merged commit e32b188 into rust-lang:main Mar 29, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 29, 2026
rust-timer added a commit that referenced this pull request Mar 29, 2026
Rollup merge of #154512 - GrigorenkoPV:alignment/const, r=scottmcm

Constify comparisons and `Clone` for `core::mem::Alignment`

As suggested in #153261 (comment)
@GrigorenkoPV GrigorenkoPV deleted the alignment/const branch March 29, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants